package com.zsrt.day20161011;

public class CalcSalary {
	public static void main(String[] args) {
		int base = 3000; 	//基本工资
		double ga;			//物价津贴
		double hra;			//房屋津贴
		double salary;		//薪资
		
		ga = base * 40 / 100;
		hra = base * 25 /100;
		salary = base + ga + hra;
		System.out.println("改员工的工资细目为: ");
		System.out.println("基本工资为: "+base);
		System.out.println("物价津贴为: "+ga);
		System.out.println("房屋津贴为: "+hra);
		System.out.println("员工薪资是: "+salary);
	}

}
